package hy.config;

import com.One;
import com.Two;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class Cfg {
    @Bean("sssssssssssssssssss")
    public One getOne(){
        return new One();
    }

    @Bean("tttttttttttttttttt")
    public Two getTwo(One one){
        return new Two();
    }
}
